'use strict'
module.exports = function (sequelize, DataTypes) {
    var Activity = sequelize.define('jyj_activity', {
        id: {
            type: DataTypes.INTEGER
        },
        code: {
            type: DataTypes.STRING
        },
        codeid: {
            type: DataTypes.STRING,
            primaryKey: true
        },
        userid: {
            type: DataTypes.STRING
        },
        active: {
            type: DataTypes.STRING
        },
        name: {
            type: DataTypes.STRING
        },
        acid: {
            type: DataTypes.STRING
        },
        step: {
            type: DataTypes.STRING
        },
        tag: {
            type: DataTypes.STRING
        }
    }, {
        freezeTableName: true,
        timestamps: false
    });
    return Activity;
};